﻿using B.S.Sterilizationcenter.Domain.zyy;
using B.S.Sterilizationcenter.ErrorCode;
using MediatR;

namespace B.S.Sterilizationcenter.Writer.API.Appliaction.Commends.WJL
{
    public class AddReturnApplicationCommands:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int ReturnApplicationId { get; set; }
        /// <summary>
        /// 物品条码
        /// </summary>
        public string? Itembarcode { get; set; }
        /// <summary>
        /// 物品名称
        /// </summary>
        public string? Itemname { get; set; }
        /// <summary>
        /// 申请时间
        /// </summary>
        public DateTime Applicationtime { get; set; }
        /// <summary>
        ///  申请人
        /// </summary>
        public string? Applicantname { get; set; }
        /// <summary>
        /// 接收单位
        /// </summary>
        public string? Receivingunit { get; set; }
        /// <summary>
        /// 紧急
        /// </summary>
        public string? Urgency { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 使用时间
        /// </summary>
        public DateTime UsageDate { get; set; }
        /// <summary>
        /// 加急
        /// </summary>
        public string? urgent { get; set; }

        /// <summary>
        /// 删除标志
        /// </summary>
        public bool IsDelete { get; set; }

        /// <summary>
        /// 回收编码
        /// </summary>
        public string? ReturnNumber { get; set; }

        /// <summary>
        /// 回收时间
        /// </summary>
        public DateTime ReturnDate { get; set; }=DateTime.Now;

        /// <summary>
        /// 空数组
        /// </summary>
        public List<int> Createid { get; set; }
    }
}
